<template>
  <div class="login">
    <h1>this is h1 from child</h1>
    <el-form>
      <h3>system login</h3>
      <el-form-item>
        <el-input type="text" placeholder="account"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button>login</el-button>
      </el-form-item>
      <el-form-item>
        <el-checkbox></el-checkbox>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>

  import ElButton from "../../node_modules/element-ui/packages/button/src/button.vue";
  import ElForm from "../../node_modules/element-ui/packages/form/src/form.vue";
  import ElFormItem from "../../node_modules/element-ui/packages/form/src/form-item.vue";
  import ElInput from "../../node_modules/element-ui/packages/input/src/input.vue";
  import ElCheckbox from "../../node_modules/element-ui/packages/checkbox/src/checkbox.vue";

  export default {
    components: {
      ElCheckbox,
      ElInput,
      ElFormItem,
      ElForm,
      ElButton
    },
    name: 'login'
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
